package com.leyou.item.mapper;

import com.leyou.item.pojo.Spu;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;
import tk.mybatis.mapper.common.Mapper;

@Component
public interface SpuMapper extends Mapper<Spu> {

    @Update("update tb_spu set saleable = 0 where id = #{id}")
    void upGoods(Long id);
}
